package <#if packagePath != ''>${packagePath}.</#if>annotation;

import <#if packagePath != ''>${packagePath}.</#if>convert.Convert;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE,ElementType.FIELD})
@Documented
@Repeatable (BeanMappings.class)
public @interface BeanMapping {

    /**
     * 对应字段名称
     * @return
     */
    String value() default "";

    /**
     * 对应类型
     * @return
     */
    Class[] resembles() default Object.class;

    /**
     * 是否忽略
     * @return
     */
    boolean ignore() default false;


    Class wrapperConvert() default Convert.class;
}
